projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3117b
)
mtd: atmel_nand: add missing include
author
Heiko Schocher
<
[email protected]
>
Fri, 31 Oct 2014 07:31:01 +0000
(08:31 +0100)
committer
Tom Rini
<
[email protected]
>
Mon, 17 Nov 2014 13:47:17 +0000
(08:47 -0500)
using this driver in SPL code with CONFIG_SPL_NAND_ECC
configured leads in an compileerror. Fix this.
Signed-off-by: Heiko Schocher <
[email protected]
>
Reviewed-by: Andreas Bießmann <
[email protected]
>
Reviewed-by: Bo Shen <
[email protected]
>
[fix subject]
Signed-off-by: Andreas Bießmann <
[email protected]
>
drivers/mtd/nand/atmel_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/atmel_nand.c
b/drivers/mtd/nand/atmel_nand.c
index 9114a86da2bb0ee379739693e19308937516b44e..d506e42b5e2f30fe91d42739aa26eec347563976 100644
(file)
--- a/
drivers/mtd/nand/atmel_nand.c
+++ b/
drivers/mtd/nand/atmel_nand.c
@@
-18,6
+18,7
@@
#include <malloc.h>
#include <nand.h>
#include <watchdog.h>
+#include <linux/mtd/nand_ecc.h>
#ifdef CONFIG_ATMEL_NAND_HWECC